<?php
    require ('../../classes/GalleryManager.class.php');
    
    $gm = new GalleryManager();
    
    echo $gm->delete_photo($_POST['id']);
    
?>
